package com.air.dto;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class TicketDTO implements Serializable {
    private Long id;
    //旅客id
    private Long passengerId;
    //机票所属航班id
    private Long flightId;
    //机票号
    private String ticketNumber;
    //座位号
    private String seatNumber;
    //价格
    private Double price;
    //起飞地点
    private String flightFrom;
    //降落地点
    private String flightTo;
    //状态 1：未购买 2：已支付
    private Integer status;
    //起飞时间
    private LocalDateTime flightStartTime;
    //航班时长
    private Integer flightTime;
    //降落时间
    private LocalDateTime flightEndTime;
}
